WooCommerce\PayPalCommerce\Googlepay\Assets\Button S

Total Complexity 48
Dependencies 10
Dependents 0
Total lines 452
Lines of code 255
Logical lines of code 121
Comment lines 130
Methods 14
Properties 9

Methods 14

Method Rating Maintainability Complexity Lines of code
render()
A
39 12 78
script_data()
S
50 6 28
add_partner_referrals_data()
S
55 6 19
add_onboarding_options()
S
56 4 18
button_styles_for_context()
S
57 4 16
filter_partner_referrals_option()
S
64 4 10
enqueue()
S
57 2 19
is_enabled()
S
69 3 7
enqueue_styles()
S
63 2 12
enqueue_admin()
S
56 1 22
__construct()
S
63 1 11
initialize()
S
71 1 5
googlepay_button()
S
72 1 7
wc_countries()
S
81 1 3